package com.five.entity.qo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class InsertCourseQo {
    @ApiModelProperty("课程id")
    private Long id;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("图片")
    private String imgUrl;

    @ApiModelProperty("金额")
    private BigDecimal money;

    @ApiModelProperty("简介")
    private String synopsis;

    @ApiModelProperty("课程类型")
    private String typename;

    @ApiModelProperty("状态")
    private Integer state;

    @ApiModelProperty("是否收费（0-免费 1-付费）")
    private Integer charge;
}
